package com.chenfeng.respository;

import com.chenfeng.dataobject.ProductCategory;
import org.springframework.data.jpa.repository.JpaRepository;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author:陈峰
 * @Despriction:
 * @Date:Created in 23:20 on 2018/1/21.
 * @ModifyBy:
 */

public interface
ProductCategoryRespository extends JpaRepository<ProductCategory,Integer>{
    List<ProductCategory>  findByCategoryTypeIn(List<Integer> categoryList);
}
